<!--
     描述: 公用 LayuiTemplet模板

     @author DaiZhichao
     @since 2018/11/5 16:52
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<script type="text/html" id="zmn-templet-status" th:fragment="statusTemplet">
    {{# if(d.status === 2){ }}
    <span >启用</span>
    {{# } else if(d.status === 1){ }}
    <span >禁用</span>
    {{# } }}
</script>